
size=32768
blk=(2048 1024 512 256 128 64 32)

for((j=0;j<5;j++))
do
  for((i=0;i<7;i++))
  do
    sh -x run.sh $size ${blk[$i]} ${size}_${j}_temp.log
  done
  #echo $size_${blk[$i]} >> result.log
  cat  ${size}_${j}_temp.log | grep -n "time (ms)"| awk '{print $9}' >> result.log
done
